package smashedapples.air.sqlite
{
	import smashedapples.core.NonVisualComponent;
	
	public class SQLiteColumn extends NonVisualComponent
	{
		public function SQLiteColumn()
		{
			super();
		}
	
		
		public var name:String;
		
		
		[Inspectable(enumeration="INTEGER,TEXT,PRIMARY_KEY,NUMERIC")]
		public var type:String;
		
		public function get isPrimaryKey():Boolean
		{
			if( this.type == "PRIMARY_KEY" )
				return true;
			
			return false;
		}
		
			
	}
}